object Form1: TForm1
  Left = 331
  Top = 8
  BorderIcons = [biSystemMenu, biMinimize]
  BorderStyle = bsDialog
  Caption = #36828#31243#21327#21161#26381#21153#22120#31471
  ClientHeight = 606
  ClientWidth = 793
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -15
  Font.Name = #26032#23435#20307
  Font.Style = []
  OldCreateOrder = False
  OnCloseQuery = FormCloseQuery
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 15
  object Panel1: TPanel
    Left = 0
    Top = 0
    Width = 793
    Height = 49
    Align = alTop
    Caption = #36828#31243#25511#21046#26381#21153#22120#31471
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -27
    Font.Name = #26032#23435#20307
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 0
  end
  object PageControl1: TPageControl
    Left = 0
    Top = 49
    Width = 793
    Height = 496
    ActivePage = TabSheet2
    Align = alTop
    TabOrder = 1
    object TabSheet1: TTabSheet
      Caption = #21442#25968#35774#32622
      object GroupBox1: TGroupBox
        Left = 128
        Top = 16
        Width = 553
        Height = 441
        TabOrder = 0
        object Label2: TLabel
          Left = 36
          Top = 53
          Width = 48
          Height = 15
          Caption = #31471#21475#65306
          ParentShowHint = False
          ShowHint = True
        end
        object Label7: TLabel
          Left = 36
          Top = 85
          Width = 64
          Height = 15
          Caption = #23433#20840'KEY:'
          ParentShowHint = False
          ShowHint = True
        end
        object ePort: TEdit
          Left = 108
          Top = 49
          Width = 73
          Height = 23
          Hint = #36755#20837#20320#24819#20351#29992#30340'TCP'#31471#21475
          ImeName = #20013#25991' ('#31616#20307') - '#25628#29399#25340#38899#36755#20837#27861
          ParentShowHint = False
          ShowHint = True
          TabOrder = 0
        end
        object xSSL: TCheckBox
          Left = 192
          Top = 49
          Width = 45
          Height = 21
          Hint = #21487#36873#65292#20027#35201#29992#20110#21152#23494#26381#21153#22120
          TabStop = False
          Caption = 'SSL'
          Enabled = False
          ParentShowHint = False
          ShowHint = True
          TabOrder = 1
          Visible = False
        end
        object eSecureKey: TEdit
          Left = 108
          Top = 81
          Width = 245
          Height = 23
          Hint = #35774#32622#20320#30340#23433#20840'key,'#23458#25143#31471#12289#25511#21046#31471#23433#20840'key'#24517#39035#21644#36825#37324#35774#32622#30340#23433#20840'key'#19968#26679#65292#30456#24403#20110#26500#24314#19968#20010#20869#37096#23616#22495#32593#65292#38450#27490#22806#37096#26426#22120#25509#20837
          ImeName = #20013#25991' ('#31616#20307') - '#25628#29399#25340#38899#36755#20837#27861
          MaxLength = 32
          ParentShowHint = False
          PasswordChar = '*'
          ShowHint = True
          TabOrder = 2
        end
        object xBindIP: TCheckBox
          Left = 268
          Top = 49
          Width = 85
          Height = 21
          Hint = 'You do not want to Listen on all Network Addapters?'
          TabStop = False
          Caption = #32465#23450'IP'#65306
          ParentShowHint = False
          ShowHint = True
          TabOrder = 3
          OnClick = xBindIPClick
        end
        object eAddress: TEdit
          Left = 356
          Top = 50
          Width = 165
          Height = 23
          Hint = #22914#26524#26381#21153#22120#26377#22810#20010#32593#21345#65292#36825#37324#21487#20197#25351#23450#20320#24819#35201#32465#23450#30340'IP'#22320#22336
          Color = clGray
          Enabled = False
          ImeName = #20013#25991' ('#31616#20307') - '#25628#29399#25340#38899#36755#20837#27861
          ParentShowHint = False
          ShowHint = True
          TabOrder = 4
        end
        object xISAPI: TCheckBox
          Left = 36
          Top = 114
          Width = 141
          Height = 21
          Hint = 
            'You want to emulate the Gateway as if it was running as an ISAPI' +
            ' DLL?'
          TabStop = False
          Caption = 'ISAPI DLL '#36335#24452#65306
          ParentShowHint = False
          ShowHint = True
          TabOrder = 5
        end
        object eISAPI: TEdit
          Left = 178
          Top = 114
          Width = 343
          Height = 23
          Hint = 'ISAPI DLL '#36335#24452
          Color = clGray
          Enabled = False
          ImeName = #20013#25991' ('#31616#20307') - '#25628#29399#25340#38899#36755#20837#27861
          ParentShowHint = False
          ShowHint = True
          TabOrder = 6
        end
        object xNoAutoRegUsers: TCheckBox
          Left = 36
          Top = 149
          Width = 317
          Height = 21
          Hint = #20851#38381#33258#21160#27880#20876#30331#38470#29992#25143#65292#26410#27880#20876#30340#29992#25143#26080#27861#36830#25509
          TabStop = False
          Caption = #20851#38381#33258#21160#27880#20876#29992#25143
          ParentShowHint = False
          ShowHint = True
          TabOrder = 7
        end
        object btnLogin: TButton
          Left = 248
          Top = 384
          Width = 75
          Height = 25
          Caption = #24320#22987
          TabOrder = 8
          OnClick = btnLoginClick
        end
      end
    end
    object TabSheet2: TTabSheet
      Caption = #29992#25143#30331#38470#20449#24687
      ImageIndex = 1
      object DBGrid1: TDBGrid
        Left = 0
        Top = 0
        Width = 785
        Height = 417
        Align = alCustom
        DataSource = ds
        ImeName = #20013#25991' ('#31616#20307') - '#25628#29399#25340#38899#36755#20837#27861
        Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgMultiSelect]
        ReadOnly = True
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -15
        TitleFont.Name = #26032#23435#20307
        TitleFont.Style = []
        Columns = <
          item
            Expanded = False
            FieldName = 'ID'
            Title.Alignment = taCenter
            Title.Caption = #32534#21495
            Width = 80
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'EmpNo'
            Title.Alignment = taCenter
            Title.Caption = #29992#25143#24037#21495
            Width = 80
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'EmpName'
            Title.Alignment = taCenter
            Title.Caption = #29992#25143#21517#31216
            Width = 80
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'LoginStatus'
            Title.Alignment = taCenter
            Title.Caption = #30331#38470#29366#24577
            Width = 150
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'Pwd'
            Title.Alignment = taCenter
            Title.Caption = #23494#30721
            Width = 100
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'ServiceProducts'
            Title.Alignment = taCenter
            Title.Caption = #26381#21153#20135#21697
            Width = 160
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'Status'
            Title.Alignment = taCenter
            Title.Caption = #24537#38386#29366#24577
            Width = 100
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'UpdateTime'
            Title.Caption = #26356#26032#26085#26399
            Width = 100
            Visible = True
          end>
      end
      object btnLogout: TButton
        Left = 368
        Top = 433
        Width = 75
        Height = 25
        Caption = #20572#27490
        TabOrder = 1
        OnClick = btnLogoutClick
      end
    end
  end
  object lblStatus: TStatusBar
    Left = 0
    Top = 587
    Width = 793
    Height = 19
    Panels = <
      item
        Width = 200
      end>
    SimplePanel = True
  end
  object ds: TDataSource
    DataSet = UniQuery1
    Left = 168
    Top = 8
  end
  object HttpServer: TRtcHttpServer
    MultiThreaded = True
    Timeout.AfterConnecting = 300
    OnListenLost = HttpServerListenLost
    OnListenError = HttpServerListenError
    FixupRequest.RemovePrefix = True
    Left = 264
    Top = 283
  end
  object Gateway: TRtcPortalGateway
    Server = HttpServer
    WriteLog = True
    AutoRegisterUsers = True
    BeforeUserLogin = GatewayBeforeUserLogin
    OnUserLogin = GatewayUserLogin
    OnUserLogout = GatewayUserLogout
    AutoSyncUserEvents = True
    Compression = cMax
    EncryptionKey = 16
    SecureKey = 'q1w2e3r4t5y6'
    ForceEncryption = True
    AutoSessionsLive = 600
    AutoSessions = True
    ModuleFileName = '/$rdgate'
    Left = 304
    Top = 284
  end
  object CoolTrayIcon1: TCoolTrayIcon
    CycleInterval = 0
    Icon.Data = {
      0000010001002020040000000000E80200001600000028000000200000004000
      0000010004000000000000020000000000000000000000000000000000000000
      000000008000008000000080800080000000800080008080000080808000C0C0
      C0000000FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000006444
      4444444444444444444444444400666666666666666666666666666666007FFF
      FFFFFFFFFFFFFFFFFFFFFFFFF7006FFFFFFFFFFFFFFFFFFFFFFFFFFFF7006FFF
      FFFFFFFFFFFFFFFFFFFFFFFFF7006FFFFFFFFFFFFFFFFFFFFFFFFFFFF7006FFF
      FFFFFFFFFFFFFFFFFFFFFFFFF7006FFFFFFFFFFFFFFFFFFFFFFFFFFFF7006FFF
      FFFFFFFFFFFFFFFFFFFFFFFFF7006FFFFFFFFFFFFFFFFFFFFFFFFFFFF7006FFF
      FFFFFFFFFFFFFFFFFFFFFFFFF7006FFFFFFFFFFFFFFFFFFFFFFFFFFFF7006FFF
      FFFFFFFFFFFFFFFFFFFFFFFFF7006FFFFFFFFFFFFFFFFFFFFFFFFFFFF7006FFF
      FFFFFFFFFFFFFFFFFFFFFFFFF8006FFFFFFFFFFFFFFFFFFFFFFFFFFFF8006FFF
      FFFFFFFFFFFFFFFFFFFFFFFFF8006FFFFFFFFFFFFFFFFFFFFFFFFFFFF8006FFF
      FFFFFFFFFFFFFFFFFFFFFFFFF8006FFFFFFFFFFFFFFFFFFFFFFFFFFFF8006888
      8888888888888888888888888600666666666666666666666664666666006666
      666666666666666666867E697600668EEEEEEEEEEEEEEEE66EE6EE6766006666
      6666666666666666666666666600000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000FFFF
      FFFFFFFFFFFF8000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFF}
    IconVisible = True
    IconIndex = 0
    PopupMenu = PopupMenu1
    MinimizeToTray = True
    OnDblClick = CoolTrayIcon1DblClick
    Left = 340
    Top = 283
  end
  object PopupMenu1: TPopupMenu
    Left = 112
    Top = 8
    object N1: TMenuItem
      Caption = #20851#38381
      OnClick = N1Click
    end
  end
  object UniConnection1: TUniConnection
    ProviderName = 'SQL Server'
    Database = 'cqhxrs'
    Username = 'sa'
    Server = '192.168.0.12'
    LoginPrompt = False
    Left = 208
    Top = 8
    EncryptedPassword = '97FF8CFFD2FF8CFF9AFF8DFF89FF9AFF8DFFCFFFCEFFCDFFCBFF'
  end
  object UniScript1: TUniScript
    Connection = UniConnection1
    Left = 56
  end
  object SQLServerUniProvider1: TSQLServerUniProvider
    Left = 544
    Top = 16
  end
  object UniQuery1: TUniQuery
    Connection = UniConnection1
    SQL.Strings = (
      'select * from Employees')
    Left = 240
    Top = 8
    object UniQuery1ID: TIntegerField
      FieldName = 'ID'
      ReadOnly = True
      Required = True
    end
    object UniQuery1EmpNo: TWideStringField
      FieldName = 'EmpNo'
      Required = True
      Size = 10
    end
    object UniQuery1EmpName: TWideStringField
      FieldName = 'EmpName'
      Required = True
      Size = 50
    end
    object UniQuery1Pwd: TWideStringField
      FieldName = 'Pwd'
      Required = True
    end
    object UniQuery1LoginStatus: TWideStringField
      FieldName = 'LoginStatus'
    end
    object UniQuery1Status: TWideStringField
      FieldName = 'Status'
    end
    object UniQuery1UpdateTime: TDateTimeField
      FieldName = 'UpdateTime'
    end
    object UniQuery1ServiceProducts: TWideStringField
      FieldName = 'ServiceProducts'
      Size = 50
    end
  end
end
